package com.oujia.cloud.cloudcommon.sqldialect;

import org.hibernate.dialect.MySQL5InnoDBDialect;

/**
 * hibernate自动建表的编码格式
 *
 * @author yk
 **/
public class CustomMySQL5Dialect extends MySQL5InnoDBDialect {

    @Override
    public String getTableTypeString() {
        return "ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8";
    }
}
